package vo;

/**
 * Product entity. @author MyEclipse Persistence Tools
 */

public class Product implements java.io.Serializable {

	// Fields

	private Integer productid;
	private Catelog catelog;
	private String productname;
	private Integer quantity;
	private Double price;

	// Constructors

	/** default constructor */
	public Product() {
	}

	/** full constructor */
	public Product(Integer productid, Catelog catelog, String productname,
			Integer quantity, Double price) {
		this.productid = productid;
		this.catelog = catelog;
		this.productname = productname;
		this.quantity = quantity;
		this.price = price;
	}

	// Property accessors

	public Integer getProductid() {
		return this.productid;
	}

	public void setProductid(Integer productid) {
		this.productid = productid;
	}

	public Catelog getCatelog() {
		return this.catelog;
	}

	public void setCatelog(Catelog catelog) {
		this.catelog = catelog;
	}

	public String getProductname() {
		return this.productname;
	}

	public void setProductname(String productname) {
		this.productname = productname;
	}

	public Integer getQuantity() {
		return this.quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

}